com.supermap.ar.areffect
类 Location
- java.lang.Object
-
- com.supermap.ar.areffect.Location
-
public class Location extends java.lang.Object地理位置(WGS)
-
-
构造器概要
构造器 构造器和说明 Location()构造函数Location(double longitude, double latitude, double height)构造函数Location(Location source)构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 doublegetHeight()获取高度doublegetLatitude()获取纬度doublegetLongitude()获取经度voidsetHeight(double height)设置高度voidsetLatitude(double latitude)设置纬度voidsetLocation(Location source)设置位置voidsetLongitude(double longitude)设置经度
-
-
-
构造器详细资料
-
Location
public Location(double longitude, double latitude, double height)构造函数- 参数:
longitude-latitude-height-
-
Location
public Location()
构造函数
-
Location
public Location(Location source)
构造函数- 参数:
source- 位置
-
-
方法详细资料
-
getLongitude
public double getLongitude()
获取经度- 返回:
-
setLongitude
public void setLongitude(double longitude)
设置经度- 参数:
longitude-
-
getLatitude
public double getLatitude()
获取纬度- 返回:
-
setLatitude
public void setLatitude(double latitude)
设置纬度- 参数:
latitude-
-
getHeight
public double getHeight()
获取高度- 返回:
-
setHeight
public void setHeight(double height)
设置高度- 参数:
height-
-
setLocation
public void setLocation(Location source)
设置位置- 参数:
source-
-
-